package com.huiztech.maystall.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.RelativeLayout;

import com.huiztech.maystall.R;

public class MoreOptionsActivity extends Activity {

	private RelativeLayout findFriendLayout, opinionLayout;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_more);

		findFriendLayout = (RelativeLayout) findViewById(R.id.more_find_friend_layout);
		findFriendLayout.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				Intent intent = new Intent(MoreOptionsActivity.this,
						FindFriendActivity.class);
				startActivity(intent);
			}
		});

		opinionLayout = (RelativeLayout) findViewById(R.id.more_opinion_layout);
		opinionLayout.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				Intent intent = new Intent(MoreOptionsActivity.this,
						OpinionActivity.class);
				startActivity(intent);
			}
		});
	}
}
